package com.acme.service.bank;

import com.acme.domain.bank.Bank;
import com.acme.domain.bank.Client;

public class BankService {
	public static void addClient(Bank bank,Client client){
		bank.addClient(client);
	}
	public static void printMaximumAmountToWithdraw(Bank bank){
		for (int i=1;i<=bank.getNumberOfClients();i++){
			System.out.println(bank.getClient(i).getAccount().maximumAmountToWithdraw());
		}
	}
}
